f90g_track_args,
CET_CHARSET_UTF8, 0 /* ascii is the expected character set */
/* not fixed, can be changed through command line parameter */
+ , NULL_POS_OPS,
+ nullptr
};
NULL,
g7towin_args,
CET_CHARSET_MS_ANSI, 0
+ , NULL_POS_OPS,
+ nullptr
};
#endif /* CSVFMTS_ENABLED */
arglist_t garmin_args[] = {
{
"snlen", &snlen, "Length of generated shortnames", NULL,
- ARGTYPE_INT, "1", NULL
+ ARGTYPE_INT, "1", NULL, nullptr
},
{
"snwhite", &snwhiteopt, "Allow whitespace synth. shortnames",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
- { "deficon", &deficon, "Default icon name", NULL, ARGTYPE_STRING, ARG_NOMINMAX },
+ { "deficon", &deficon, "Default icon name", NULL, ARGTYPE_STRING, ARG_NOMINMAX, nullptr },
{
"get_posn", &getposn, "Return current position as a waypoint",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"power_off", &poweroff, "Command unit to power itself down",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"erase_t", &eraset, "Erase existing courses when writing new ones",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"resettime", &resettime, "Sync GPS time to computer time",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"category", &category, "Category number to use for written waypoints",
- NULL, ARGTYPE_INT, "1", "16"
+ NULL, ARGTYPE_INT, "1", "16", nullptr
},
{
"bitscategory", &categorybitsopt, "Bitmap of categories",
- NULL, ARGTYPE_INT, "1", "65535"
+ NULL, ARGTYPE_INT, "1", "65535", nullptr
},
{
"baud", &baudopt, "Speed in bits per second of serial port (baud=9600)",
- NULL, ARGTYPE_INT, ARG_NOMINMAX },
+ NULL, ARGTYPE_INT, ARG_NOMINMAX, nullptr },
ARG_TERMINATOR
};
NULL,
garmin_args,
CET_CHARSET_ASCII, 0,
- { pvt_init, pvt_read, rw_deinit, NULL, NULL, NULL }
+ { pvt_init, pvt_read, rw_deinit, NULL, NULL, NULL },
+ nullptr
};
static const char* d103_icons[16] = {
fit_args,
CET_CHARSET_ASCII, 0 /* ascii is the expected character set */
/* not fixed, can be changed through command line parameter */
+ , NULL_POS_OPS,
+ nullptr
};
/**************************************************************************/
static arglist_t garmin_gpi_args[] = {
{
"alerts", &opt_alerts, "Enable alerts on speed or proximity distance",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"bitmap", &opt_bitmap, "Use specified bitmap on output",
- NULL, ARGTYPE_FILE, ARG_NOMINMAX
+ NULL, ARGTYPE_FILE, ARG_NOMINMAX, nullptr
},
{
"category", &opt_cat, "Default category on output",
- "My points", ARGTYPE_STRING, ARG_NOMINMAX
+ "My points", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"hide", &opt_hide_bitmap, "Don't show gpi bitmap on device",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"descr", &opt_descr, "Write description to address field",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"notes", &opt_notes, "Write notes to address field",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"position", &opt_pos, "Write position to address field",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"proximity", &opt_proximity, "Default proximity",
- NULL, ARGTYPE_STRING, ARG_NOMINMAX
+ NULL, ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"sleep", &opt_sleep, "After output job done sleep n second(s)",
- NULL, ARGTYPE_INT, "1", NULL
+ NULL, ARGTYPE_INT, "1", NULL, nullptr
},
{
"speed", &opt_speed, "Default speed",
- NULL, ARGTYPE_STRING, ARG_NOMINMAX
+ NULL, ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"unique", &opt_unique, "Create unique waypoint names (default = yes)",
- "Y", ARGTYPE_BOOL, ARG_NOMINMAX
+ "Y", ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"units", &opt_units, "Units used for names with @speed ('s'tatute or 'm'etric)",
- "m", ARGTYPE_STRING, ARG_NOMINMAX
+ "m", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"writecodec", &opt_writecodec, "codec to use for writing strings",
- "windows-1252", ARGTYPE_STRING, ARG_NOMINMAX
+ "windows-1252", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
ARG_TERMINATOR
};
}
static void
-read_header(void)
+read_header()
{
int len, i;
#ifdef GPI_DBG
static int
read_tag(const char* caller, const int tag, Waypoint* wpt)
{
+ Q_UNUSED(caller);
int pos, sz, dist;
double speed;
short mask;
static void
-write_category(const char* category, const unsigned char* image, const int image_sz)
+write_category(const char*, const unsigned char* image, const int image_sz)
{
int sz;
static void
-write_header(void)
+write_header()
{
time_t time = gpi_timestamp;
static void
-garmin_gpi_rd_deinit(void)
+garmin_gpi_rd_deinit()
{
delete rdata;
gbfclose(fin);
static void
-garmin_gpi_wr_deinit(void)
+garmin_gpi_wr_deinit()
{
wdata_free(wdata);
mkshort_del_handle(&short_h);
static void
-garmin_gpi_read(void)
+garmin_gpi_read()
{
while (1) {
int tag = gbfgetint32(fin);
static void
-garmin_gpi_write(void)
+garmin_gpi_write()
{
unsigned char* image;
int image_sz;
NULL,
garmin_gpi_args,
CET_CHARSET_MS_ANSI, 0 /* WIN-CP1252 */
+ , NULL_POS_OPS,
+ nullptr
};
/**************************************************************************/
static
arglist_t garmin_txt_args[] = {
- {"date", &opt_date_format, "Read/Write date format (i.e. yyyy/mm/dd)", NULL, ARGTYPE_STRING, ARG_NOMINMAX},
- {"datum", &opt_datum, "GPS datum (def. WGS 84)", "WGS 84", ARGTYPE_STRING, ARG_NOMINMAX},
+ {"date", &opt_date_format, "Read/Write date format (i.e. yyyy/mm/dd)", NULL, ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
+ {"datum", &opt_datum, "GPS datum (def. WGS 84)", "WGS 84", ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
{"dist", &opt_dist, "Distance unit [m=metric, s=statute]", "m", ARGTYPE_STRING, ARG_NOMINMAX},
- {"grid", &opt_grid, "Write position using this grid.", NULL, ARGTYPE_STRING, ARG_NOMINMAX},
- {"prec", &opt_precision, "Precision of coordinates", "3", ARGTYPE_INT, ARG_NOMINMAX},
- {"temp", &opt_temp, "Temperature unit [c=Celsius, f=Fahrenheit]", "c", ARGTYPE_STRING, ARG_NOMINMAX},
- {"time", &opt_time_format, "Read/Write time format (i.e. HH:mm:ss xx)", NULL, ARGTYPE_STRING, ARG_NOMINMAX},
- {"utc", &opt_utc, "Write timestamps with offset x to UTC time", NULL, ARGTYPE_INT, "-23", "+23"},
+ {"grid", &opt_grid, "Write position using this grid.", NULL, ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
+ {"prec", &opt_precision, "Precision of coordinates", "3", ARGTYPE_INT, ARG_NOMINMAX, nullptr},
+ {"temp", &opt_temp, "Temperature unit [c=Celsius, f=Fahrenheit]", "c", ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
+ {"time", &opt_time_format, "Read/Write time format (i.e. HH:mm:ss xx)", NULL, ARGTYPE_STRING, ARG_NOMINMAX, nullptr},
+ {"utc", &opt_utc, "Write timestamps with offset x to UTC time", NULL, ARGTYPE_INT, "-23", "+23", nullptr},
ARG_TERMINATOR
};
}
static void
-init_date_and_time_format(void)
+init_date_and_time_format()
{
const char* f;
const char* c;
/* common route and track pre-work */
static void
-prework_hdr_cb(const route_head* rte)
+prework_hdr_cb(const route_head*)
{
cur_info = &route_info[route_idx];
cur_info->prev_wpt = NULL;
}
static void
-prework_tlr_cb(const route_head* rte)
+prework_tlr_cb(const route_head*)
{
cur_info->last_wpt = cur_info->prev_wpt;
route_idx++;
}
static void
-route_disp_tlr_cb(const route_head* rte)
+route_disp_tlr_cb(const route_head*)
{
route_idx++;
}
}
static void
-track_disp_tlr_cb(const route_head* track)
+track_disp_tlr_cb(const route_head*)
{
route_idx++;
}
}
static void
-garmin_txt_wr_deinit(void)
+garmin_txt_wr_deinit()
{
gbfclose(fout);
xfree(date_time_format);
}
static void
-garmin_txt_write(void)
+garmin_txt_write()
{
char* grid_str, *c;
const char* datum_str;
}
static void
-parse_header(void)
+parse_header()
{
char* str;
int column = -1;
}
static void
-parse_grid(void)
+parse_grid()
{
char* str = csv_lineparse(NULL, "\t", "", 1);
}
static void
-parse_datum(void)
+parse_datum()
{
char* str = csv_lineparse(NULL, "\t", "", 1);
}
static void
-parse_waypoint(void)
+parse_waypoint()
{
char* str;
int column = -1;
}
static void
-parse_route_header(void)
+parse_route_header()
{
char* str;
int column = -1;
}
static void
-parse_track_header(void)
+parse_track_header()
{
char* str;
int column = -1;
}
static void
-parse_route_waypoint(void)
+parse_route_waypoint()
{
char* str;
int column = -1;
}
static void
-parse_track_waypoint(void)
+parse_track_waypoint()
{
char* str;
int column = -1;
}
static void
-garmin_txt_rd_deinit(void)
+garmin_txt_rd_deinit()
{
header_type h;
}
static void
-garmin_txt_read(void)
+garmin_txt_read()
{
char* buff;
NULL,
garmin_txt_args,
CET_CHARSET_MS_ANSI, 0
+ , NULL_POS_OPS,
+ nullptr
};
#endif // CSVFMTS_ENABLED
static
arglist_t format_garmin_xt_args[] = {
- {"ftype", &opt_xt_ftype, "Garmin Mobile XT ([ATRK]/STRK)", "ATRK", ARGTYPE_STRING | ARGTYPE_REQUIRED, ARG_NOMINMAX},
+ {"ftype", &opt_xt_ftype, "Garmin Mobile XT ([ATRK]/STRK)", "ATRK", ARGTYPE_STRING | ARGTYPE_REQUIRED, ARG_NOMINMAX, nullptr},
// TODO: SHIFT - can't test behaviour, do not have appropriate files
//{"trk_header_opt", &opt_trk_header, "Track name processing option ([0]-nrm/1-ign/2-sht)", "0", ARGTYPE_INT, ARG_NOMINMAX},
- {"trk_header", &opt_trk_header, "Track name processing option ([0]-nrm/1-ign)", "0", ARGTYPE_INT, ARG_NOMINMAX},
+ {"trk_header", &opt_trk_header, "Track name processing option ([0]-nrm/1-ign)", "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr},
ARG_TERMINATOR
};
format_garmin_xt_args,
CET_CHARSET_ASCII, 0 /* ascii is the expected character set */
/* not fixed, can be changed through command line parameter */
+ , NULL_POS_OPS,
+ nullptr
};
/**************************************************************************/
gdb_args,
CET_CHARSET_MS_ANSI, 0 /* O.K.: changed to NON-FIXED */
/* because of utf8 strings since GDB V3 */
+ , NULL_POS_OPS,
+ nullptr
};
/*******************************************************************************/
static
arglist_t geo_args[] = {
- {"deficon", &deficon, "Default icon name", NULL, ARGTYPE_STRING, ARG_NOMINMAX },
- {"nuke_placer", &nuke_placer, "Omit Placer name", NULL, ARGTYPE_BOOL, ARG_NOMINMAX },
+ {"deficon", &deficon, "Default icon name", NULL, ARGTYPE_STRING, ARG_NOMINMAX, nullptr },
+ {"nuke_placer", &nuke_placer, "Omit Placer name", NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr },
ARG_TERMINATOR
};
geo_write,
NULL,
geo_args,
- CET_CHARSET_UTF8, 0 /* CET-REVIEW */
+ CET_CHARSET_UTF8, 0, /* CET-REVIEW */
+ NULL_POS_OPS,
+ nullptr
};
static arglist_t geojson_args[] = {
{"compact", &compact_opt, "Compact Output. Default is off.",
- NULL, ARGTYPE_BOOL, ARG_NOMINMAX } ,
+ NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr } ,
ARG_TERMINATOR
};
}
static void
-geojson_wr_deinit(void) {
+geojson_wr_deinit() {
QJsonObject object;
object[TYPE] = FEATURE_COLLECTION;
object[FEATURES] = *feature_collection;
}
static void
-geojson_read(void) {
+geojson_read() {
QFile file;
file.setFileName(input_file_name);
file.open(QIODevice::ReadOnly | QIODevice::Text);
(*track_coords).append(coords);
}
-static void geojson_track_tlr(const route_head* track) {
+static void geojson_track_tlr(const route_head*) {
QJsonObject geometry;
geometry[TYPE] = LINESTRING;
geometry[COORDINATES] = *track_coords;
}
static void
-geojson_write(void) {
+geojson_write() {
waypt_disp_all(geojson_waypt_pr);
track_disp_all(geojson_track_hdr, geojson_track_tlr, geojson_track_disp);
}
NULL,
geojson_args,
CET_CHARSET_UTF8, 0 /* CET-REVIEW */
+ , NULL_POS_OPS,
+ nullptr
};
NULL, //args
CET_CHARSET_ASCII, 0 //encode,fixed_encode
//NULL //name dynamic/internal?
+ , NULL_POS_OPS,
+ nullptr
};
NULL,
ggv_log_args,
CET_CHARSET_ASCII, 1
+ , NULL_POS_OPS,
+ nullptr
};
/**************************************************************************/
NULL,
ggv_ovl_args,
CET_CHARSET_MS_ANSI, 0
+ , NULL_POS_OPS,
+ nullptr
};
/**************************************************************************/
static
arglist_t globalsat_args[] = {
- {"showlist", &showlist, "list tracks", NULL, ARGTYPE_BOOL, ARG_NOMINMAX},
- {"track", &track, "get track", "0", ARGTYPE_INT, ARG_NOMINMAX},
- {"dump-file", &opt_dump_file, "Dump raw data to this file", NULL, ARGTYPE_OUTFILE, ARG_NOMINMAX},
- {"input-is-dump-file", &opt_input_dump_file, "Dump raw data to this file", NULL, ARGTYPE_BOOL, ARG_NOMINMAX},
+ {"showlist", &showlist, "list tracks", NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr},
+ {"track", &track, "get track", "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr},
+ {"dump-file", &opt_dump_file, "Dump raw data to this file", NULL, ARGTYPE_OUTFILE, ARG_NOMINMAX, nullptr},
+ {"input-is-dump-file", &opt_input_dump_file, "Dump raw data to this file", NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr},
ARG_TERMINATOR
};
globalsat_args, //args
CET_CHARSET_ASCII, 0 //encode,fixed_encode
//NULL //name dynamic/internal?
+ , NULL_POS_OPS,
+ nullptr
};
// This reads from a RAW dump bile from a watch
globalsat_args, //args
CET_CHARSET_ASCII, 0 //encode,fixed_encode
//NULL //name dynamic/internal?
+ , NULL_POS_OPS,
+ nullptr
};
}
static void
-glogbook_hdr(const route_head* rte)
+glogbook_hdr(const route_head*)
{
writer.writeStartElement("Track");
}
static void
-glogbook_ftr(const route_head* rte)
+glogbook_ftr(const route_head*)
{
writer.writeEndElement();
}
writer.writeEndElement(); // History
}
-void gl_trk_s(xg_string args, const QXmlStreamAttributes*)
+void gl_trk_s(xg_string, const QXmlStreamAttributes*)
{
trk_head = route_head_alloc();
track_add_head(trk_head);
}
-void gl_trk_pnt_s(xg_string args, const QXmlStreamAttributes*)
+void gl_trk_pnt_s(xg_string, const QXmlStreamAttributes*)
{
wpt_tmp = new Waypoint;
}
-void gl_trk_pnt_e(xg_string args, const QXmlStreamAttributes*)
+void gl_trk_pnt_e(xg_string, const QXmlStreamAttributes*)
{
track_add_wpt(trk_head, wpt_tmp);
}
NULL,
glogbook_args,
CET_CHARSET_ASCII, 0 /* CET-REVIEW */
+ , NULL_POS_OPS,
+ nullptr
};
NULL,
gnav_trl_args,
CET_CHARSET_UTF8, 1 /* CET - do nothing ! */
+ , NULL_POS_OPS,
+ nullptr
};
NULL,
NULL,
CET_CHARSET_UTF8, 1 /* CET-REVIEW */
+ , NULL_POS_OPS,
+ nullptr
};
static struct tm opt_tm; /* converted "date" parameter */
static
arglist_t gopal_args[] = {
- {"date", &optdate, "Complete date-free tracks with given date (YYYYMMDD).", NULL, ARGTYPE_INT, ARG_NOMINMAX },
- {"maxspeed", &optmaxspeed, "The maximum speed (km/h) traveling from waypoint to waypoint.", "200", ARGTYPE_INT, "1", "1000" },
- {"minspeed", &optminspeed, "The minimum speed (km/h) traveling from waypoint to waypoint. Set >0 to remove duplicate waypoints", "0", ARGTYPE_INT, "0", "999" },
- {"clean", &optclean, "Cleanup common errors in trackdata", "1", ARGTYPE_BOOL, ARG_NOMINMAX },
+ {"date", &optdate, "Complete date-free tracks with given date (YYYYMMDD).", NULL, ARGTYPE_INT, ARG_NOMINMAX, nullptr },
+ {"maxspeed", &optmaxspeed, "The maximum speed (km/h) traveling from waypoint to waypoint.", "200", ARGTYPE_INT, "1", "1000", nullptr },
+ {"minspeed", &optminspeed, "The minimum speed (km/h) traveling from waypoint to waypoint. Set >0 to remove duplicate waypoints", "0", ARGTYPE_INT, "0", "999", nullptr },
+ {"clean", &optclean, "Cleanup common errors in trackdata", "1", ARGTYPE_BOOL, ARG_NOMINMAX, nullptr },
ARG_TERMINATOR
};
}
static void
-gopal_rd_deinit(void)
+gopal_rd_deinit()
{
gbfclose(fin);
}
static void
-gopal_read(void)
+gopal_read()
{
char* buff;
}
static void
-gopal_route_hdr(const route_head* route)
+gopal_route_hdr(const route_head*)
{
}
static void
-gopal_route_tlr(const route_head* rte)
+gopal_route_tlr(const route_head*)
{
}
}
static void
-gopal_wr_deinit(void)
+gopal_wr_deinit()
{
gbfclose(fout);
}
static void
-gopal_write(void)
+gopal_write()
{
route_disp_all(gopal_route_hdr, gopal_route_tlr, gopal_write_waypt);
}
static void
-gopal_exit(void) /* optional */
+gopal_exit() /* optional */
{
}
gopal_args,
CET_CHARSET_ASCII, 0 /* ascii is the expected character set */
/* not fixed, can be changed through command line parameter */
+ , NULL_POS_OPS,
+ nullptr
};
/**************************************************************************/
arglist_t gpssim_args[] = {
{
"wayptspd", &wayptspd, "Default speed for waypoints (knots/hr)",
- NULL, ARGTYPE_FLOAT, ARG_NOMINMAX
+ NULL, ARGTYPE_FLOAT, ARG_NOMINMAX, nullptr
},
{
"split", &splitfiles_opt, "Split input into separate files",
- "0", ARGTYPE_BOOL, ARG_NOMINMAX
+ "0", ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
ARG_TERMINATOR
};
}
static void
-gpssim_trk_ftr(const route_head* rh)
+gpssim_trk_ftr(const route_head*)
{
if (splitfiles) {
gbfclose(fout);
NULL,
gpssim_args,
CET_CHARSET_ASCII, 0
+ , NULL_POS_OPS,
+ nullptr
};
NULL,
NULL,
CET_CHARSET_ASCII, 0 /* CET-REVIEW */
+ , NULL_POS_OPS,
+ nullptr
};
* this allows gpx:wpt names to overlap gpx:rtept names, etc.
*/
static void
-gpx_reset_short_handle(void)
+gpx_reset_short_handle()
{
if (mkshort_handle != NULL) {
mkshort_del_handle(&mkshort_handle);
}
static void
-prescan_tags(void)
+prescan_tags()
{
tag_mapping* tm;
for (tm = tag_path_map; tm->tag_type_ != 0; tm++) {
}
static void
-gpx_end(const QString& el)
+gpx_end(const QString&)
{
float x;
int passthrough;
static
void
-gpx_rd_deinit(void)
+gpx_rd_deinit()
{
delete reader;
reader = NULL;
}
static void
-gpx_wr_deinit(void)
+gpx_wr_deinit()
{
writer->writeEndDocument();
delete writer;
}
void
-gpx_read(void)
+gpx_read()
{
for (bool atEnd = false; !reader->atEnd() && !atEnd;) {
reader->readNext();
}
static void
-gpx_write_bounds(void)
+gpx_write_bounds()
{
waypt_init_bounds(&all_bounds);
}
static void
-gpx_write(void)
+gpx_write()
{
gpx_reset_short_handle();
static void
-gpx_free_gpx_global(void)
+gpx_free_gpx_global()
{
gpx_rm_from_global(&gpx_global->name);
gpx_rm_from_global(&gpx_global->desc);
}
static void
-gpx_exit(void)
+gpx_exit()
{
gpx_version.clear();
}
static void
-gtm_rd_deinit(void)
+gtm_rd_deinit()
{
gbfclose(file_in);
}
-static void count_route_waypts(const Waypoint* wpt)
+static void count_route_waypts(const Waypoint*)
{
rt_count++;
}
-static void count_track_waypts(const Waypoint* wpt)
+static void count_track_waypts(const Waypoint*)
{
tr_count++;
}
}
static void
-gtm_wr_deinit(void)
+gtm_wr_deinit()
{
gbfclose(file_out);
}
static void
-gtm_read(void)
+gtm_read()
{
route_head* first_trk_head = NULL;
route_head* trk_head = NULL;
}
static void
-gtm_write(void)
+gtm_write()
{
waypt_disp_all(write_waypt);
if (waypt_count()) {
gtm_write,
NULL,
gtm_args,
-};
+ CET_CHARSET_ASCII, 0, /* CET-REVIEW */
+ NULL_POS_OPS,
+ nullptr
+};
\ No newline at end of file
NULL,
gtc_args,
CET_CHARSET_ASCII, 0 /* CET-REVIEW */
+ , NULL_POS_OPS,
+ nullptr
};
arglist_t height_args[] = {
{
"add", &addopt, "Adds a constant value to every altitude (meter, append \"f\" (x.xxf) for feet)",
- NULL, ARGTYPE_BEGIN_REQ | ARGTYPE_FLOAT, ARG_NOMINMAX
+ NULL, ARGTYPE_BEGIN_REQ | ARGTYPE_FLOAT, ARG_NOMINMAX, nullptr
},
{
"wgs84tomsl", &wgs84tomslopt, "Converts WGS84 ellipsoidal height to orthometric height (MSL)",
- NULL, ARGTYPE_END_REQ | ARGTYPE_BOOL, ARG_NOMINMAX
+ NULL, ARGTYPE_END_REQ | ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
ARG_TERMINATOR
};
static void
-height_init(const char* args)
+height_init(const char*)
{
char* unit;
static void
-height_process(void) /* this procedure must be present in vecs */
+height_process() /* this procedure must be present in vecs */
{
waypt_disp_all(correct_height);
route_disp_all(NULL, NULL, correct_height);
}
static void
-hiketech_trk_tlr(const route_head* rte)
+hiketech_trk_tlr(const route_head*)
{
writer.writeEndElement(); // trk
}
}
static
-void ht_wpt_s(xg_string args, const QXmlStreamAttributes*)
+void ht_wpt_s(xg_string, const QXmlStreamAttributes*)
{
wpt_tmp = new Waypoint;
}
}
static
-void ht_wpt_e(xg_string args, const QXmlStreamAttributes*)
+void ht_wpt_e(xg_string, const QXmlStreamAttributes*)
{
waypt_add(wpt_tmp);
wpt_tmp = NULL;
}
static
-void ht_trk_s(xg_string args, const QXmlStreamAttributes*)
+void ht_trk_s(xg_string, const QXmlStreamAttributes*)
{
trk_head = route_head_alloc();
track_add_head(trk_head);
}
static
-void ht_trk_e(xg_string args, const QXmlStreamAttributes*)
+void ht_trk_e(xg_string, const QXmlStreamAttributes*)
{
}
}
static
-void ht_trk_pnt_s(xg_string args, const QXmlStreamAttributes*)
+void ht_trk_pnt_s(xg_string, const QXmlStreamAttributes*)
{
wpt_tmp = new Waypoint;
}
static
-void ht_trk_pnt_e(xg_string args, const QXmlStreamAttributes*)
+void ht_trk_pnt_e(xg_string, const QXmlStreamAttributes*)
{
track_add_wpt(trk_head, wpt_tmp);
}
NULL,
hiketech_args,
CET_CHARSET_ASCII, 0 /* CET-REVIEW */
+ , NULL_POS_OPS,
+ nullptr
};
NULL,
NULL,
CET_CHARSET_ASCII, 0 /* CET-REVIEW */
+ , NULL_POS_OPS,
+ nullptr
};
arglist_t html_args[] = {
{
"stylesheet", &stylesheet,
- "Path to HTML style sheet", NULL, ARGTYPE_STRING, ARG_NOMINMAX
+ "Path to HTML style sheet", NULL, ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"encrypt", &html_encrypt,
- "Encrypt hints using ROT13", NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ "Encrypt hints using ROT13", NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"logs", &includelogs,
- "Include groundspeak logs if present", NULL, ARGTYPE_BOOL, ARG_NOMINMAX
+ "Include groundspeak logs if present", NULL, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr
},
{
"degformat", °format,
- "Degrees output as 'ddd', 'dmm'(default) or 'dms'", "dmm", ARGTYPE_STRING, ARG_NOMINMAX
+ "Degrees output as 'ddd', 'dmm'(default) or 'dms'", "dmm", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
{
"altunits", &altunits,
- "Units for altitude (f)eet or (m)etres", "m", ARGTYPE_STRING, ARG_NOMINMAX
+ "Units for altitude (f)eet or (m)etres", "m", ARGTYPE_STRING, ARG_NOMINMAX, nullptr
},
ARG_TERMINATOR
};
NULL,
html_args,
CET_CHARSET_UTF8, 0 /* CET-REVIEW */
+ , NULL_POS_OPS,
+ nullptr
};
}
static void
-humminbird_rd_deinit(void)
+humminbird_rd_deinit()
{
gbfclose(fin);
}
}
static void
-humminbird_read(void)
+humminbird_read()
{
while (! gbfeof(fin)) {
uint32_t signature;
}
static void
-humminbird_wr_deinit(void)
+humminbird_wr_deinit()
{
mkshort_del_handle(&wptname_sh);
mkshort_del_handle(&rtename_sh);
}
static void
-humminbird_track_tail(const route_head* rte)
+humminbird_track_tail(const route_head*)
{
int max_points = (131080 - sizeof(uint32_t)- sizeof(humminbird_trk_header_t)) / sizeof(humminbird_trk_point_t);
static void
-humminbird_track_write(void)
+humminbird_track_write()
{
track_disp_all(humminbird_track_head, humminbird_track_tail, humminbird_track_cb);
}
static void
-humminbird_write(void)
+humminbird_write()
{
waypt_disp_all(humminbird_write_waypoint_wrapper);
route_disp_all(NULL, NULL, humminbird_write_waypoint_wrapper);
humminbird_args,
CET_CHARSET_ASCII, 1 /* ascii is the expected character set */
/* currently fixed !!! */
+ , NULL_POS_OPS,
+ nullptr
};
/**************************************************************************/
humminbird_args,
CET_CHARSET_ASCII, 1 /* ascii is the expected character set */
/* currently fixed !!! */
+ , NULL_POS_OPS,
+ nullptr
};
/**************************************************************************/